﻿using System;

namespace MessagePack.Decoders
{
	// Token: 0x020000B3 RID: 179
	internal class UInt8UInt16 : IUInt16Decoder
	{
		// Token: 0x060002C6 RID: 710 RVA: 0x0000BA51 File Offset: 0x00009E51
		private UInt8UInt16()
		{
		}

		// Token: 0x060002C7 RID: 711 RVA: 0x0000BA59 File Offset: 0x00009E59
		public ushort Read(byte[] bytes, int offset, out int readSize)
		{
			readSize = 2;
			return (ushort)bytes[offset + 1];
		}

		// Token: 0x040000D3 RID: 211
		internal static readonly IUInt16Decoder Instance = new UInt8UInt16();
	}
}
